package com.atguigu.gmall.product.service;

import com.atguigu.gmall.product.pojo.BaseCategory2;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author h8467
* @description 针对表【base_category2(二级分类表)】的数据库操作Service
* @createDate 2022-11-29 16:02:29
*/
public interface BaseCategory2Service extends IService<BaseCategory2> {

    /**
     * 通过Category1Id获取到 Category2列表
     * @param category1Id
     * @return
     */
    List<BaseCategory2> getAll(String category1Id);
}
